home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / gfx / show / ViewTool.lha / ViewTool / Install / Install-Script < prev    next >
Text File  |  1998-01-18  |  35KB  |  918 lines

  1. ;
  2. ;$VER: Install-Script 1.1 (17.01.98)
  3. ;               
  4. ;======================
  5. ;=== Global strings ===
  6. ;======================
  7. (set #installer_locale 0) 
  8. ;
  9. ; Determine language
  10. ;
  11. ; #installer_locale = 0: english
  12. ;                   = 1: deutsch
  13. ;                           
  14. (if (= @language "deutsch") (set #installer_locale 1))
  15. ;
  16. ;English
  17. ;
  18. (if (= #installer_locale 0)
  19.     (set            
  20.         ;=== general ===
  21.         ;
  22.         #welcome_text        (cat "This script lets you install\n" @app-name "\non your system.")
  23.         #welcome_update      (cat "This script will update an existing\n" @app-name "\ninstallation.")
  24.         #welcome_remove      (cat "This script will remove an existing\n" @app-name "\ninstallation.")
  25.         #error_instvers_msg  (cat "You are using the installer version %ld.%ld.\n"
  26.                                   "This script will probably not work.\n"
  27.                                   "Try installing anyway ?")
  28.         #error_instvers_help (cat "Get the most resent version from http://www.amiga.de\nVersion 42.9+ is required.")
  29.         #action_prompt       (cat "What do you want to do ?")
  30.         #action_help         (cat "Select an action to perform.")
  31.         #action_install      (cat "Install")
  32.         #action_update       (cat "Update")
  33.         #action_remove       (cat "Remove")
  34.         #cpu_too_low         (cat "You have installed a " (database "cpu") " processor, but a 68020 processor "
  35.                                   "is minimal required in order to use " @app-name ".\nI'm quitting now...")
  36.         ;=== program files ===
  37.         ;
  38.         #askdest_prompt    (cat "Select destination for " @app-name ". A drawer will be created, if necessary.")
  39.         #askdest_help      (cat "Select the destination drawer for " @app-name ". A new drawer will be generated.")
  40.         #files2copy_prompt (cat "Select main program to install.")
  41.         #files2copy_help   (cat "Select the program file to install according to the processor your system has.")
  42.         #copycopy_prompt   (cat "The %s version of " @app-name " will be copied.")
  43.         #copycopy_help     (cat #copycopy_prompt)
  44.         ;=== catalogs ===
  45.         ;
  46.         #catalog_f2c_prompt (cat "Select language catalog to copy.")
  47.         #catalog_f2c_help   (cat "Select the language(s) to install.")
  48.         #getcat_prompt      (cat "Select target drawer for catalog(s). A drawer will be created, if necessary.")
  49.         #getcat_help        (cat "Normally, select the drawer the main program was installed to. "
  50.                                  "A new drawer will be generated, if necessary. "
  51.                                  "LOCALE: would be another option.")
  52.         #copycat_prompt     (cat "Copying %s catalog...")
  53.         #copycat_help       (cat "The %s catalog files will be copied.")
  54.         ;=== guide ===
  55.         ;
  56.         #guide_f2c_prompt (cat "Select documentation to install.")
  57.         #guide_f2c_help   (cat "Select documentation language you like to install.")
  58.         #getdoc_prompt    (cat "Select destination for documentation. A drawer will be created, if necessary.")
  59.         #getdoc_help      (cat "Normally, select the drawer the main program was installed to. "
  60.                                "A new drawer will be generated, if necessary.")
  61.         #copydoc_prompt   (cat "Copying documentation...")
  62.         #copydoc_help     (cat "The %s documentation will be copied.")
  63.         #copydoc_misc_pmt (cat "Copying miscellaneous documentation...")
  64.         #copydoc_misc_hlp (cat "Some additional texts will be copied.")
  65.         ;=== arexx ===
  66.         ;
  67.         #rexx_f2c_prompt  (cat "Install arexx examples ?")
  68.         #rexx_f2c_help    (cat "Select wether to install the example arexx files or not.")
  69.         #rexx_dest_prompt (cat "Select arexx example drawer. A new drawer will be created, if necessary.")
  70.         #rexx_dest_help   (cat "Select a drawer into which the example arexx files will be installed. "
  71.                                "A new drawer will be generated, if necessary.")
  72.         #rexx_copy_prompt (cat "Copying arexx examples...")
  73.         #rexx_copy_help   (cat "The arexx example files will be copied.") 
  74.         ;=== wbstartup ===
  75.         ;
  76.         #cpy_wbstartup_prompt (cat "Start " @app-name " automatically every time you boot ?")
  77.         #cpy_wbstartup_help   (cat "An icon will be copied to SYS:WBStartup/ drawer. Every time you boot "
  78.                                    @app-name " will be started automatically. Select the program version "
  79.                                    "to be started.")
  80.         #cpy_wbstart_none     (cat "No")       
  81.         #wbstart_prompt       (cat "The %s client will be started on boot time.")
  82.         #wbstart_help         (cat "The selected version of " @app-name " will be started during booting.")
  83.         ;=== tooltypes ===
  84.         ;
  85.         #ttype_prefs_prompt (cat "Since %s is a commodity some setup is required.\n"
  86.                                  "Type the keys which will bring up the preferences window, "
  87.                                  "for example\n'lshift lalt v' (= left shift + left alt + v):"
  88.                             )
  89.         #ttype_prefs_help   (cat "Type in a combination of keys, but without then \'.")
  90.         #ttype_load_prompt  (cat "Type the keys which will bring up a file load requester:")
  91.         #ttype_load_help    (cat "Same as previous. " #ttype_prefs_help)
  92.         #ttype_popup_prompt (cat "Should the preferences window open automatically after program start ?")
  93.         #ttype_popup_help   (cat "You can change this later via the tooltype CX_POPUP=<YES|NO>.")
  94.         #ttype_set_prompt   (cat "The requested changes to the %s program icon will be made.")
  95.         #ttype_set_help     (cat "All changes can be manually altered later.")
  96.         ;=== update drawer ===
  97.         ;
  98.         #update_dest_prompt (cat "Locate " @app-name "'s executable(s):")
  99.         #update_dest_help   (cat "Select the drawer where " @app-name "'s executable(s) resides in.")
  100.         #update_f2c_prompt  (cat "Select executables to update:")
  101.         #update_f2c_help    (cat "Select that executable(s) which should be updated.")
  102.         #update_cat_prompt  (cat "Select drawer where old catalogs were installed:")
  103.         #update_cat_help    (cat "This should be either the drawer where the executables reside in "
  104.                                  "or LOCALE:")
  105.         #update_no_exe      (cat "Couldn't find files to update. Exitting...")
  106.         ;=== remove drawer ===
  107.         ;                             
  108.         #remove_safe_prompt (cat "Do you really want to delete your\n" @app-name "\ninstallation ?")
  109.         #remove_safe_help   (cat "This is the last chance to cancel !!!")
  110.         #remove_del_prompt  (cat "Deleting old\n" @app-name "\ninstallation.")
  111.         #remove_del_help    (cat "You will get no second chance to quit !!!")
  112.         #remove_no_exe      (cat "Didn't find " @app-name " executable(s) in selected drawer. Exitting...")
  113.     )
  114. )
  115. ;
  116. ; Deutsch
  117. ;
  118. (if (= #installer_locale 1)
  119.     (set
  120.         ;=== general ===
  121.         ;
  122.         #welcome_text        (cat "Dieses Script installiert\n" @app-name "\nauf Ihrem System.")
  123.         #welcome_update      (cat "Dieses Script erneuert eine vorhandene Installation von\n" @app-name)
  124.         #welcome_remove      (cat "Dieses Script entfernt eine vorhandene Installation von\n" @app-name)
  125.         #error_instvers_msg  (cat "Sie benutzen den Installer in der Version %ld.%ld.\n"
  126.                                   "Die Installations wird wahrscheinlich nicht funktionieren.\n"
  127.                                   "Installation dennoch versuchen ?")
  128.         #error_instvers_help (cat "Die neueste Version ist zu finden unter http://www.amiga.de\nVersion 42.9+ wird benötigt.")
  129.         #action_prompt       (cat "Was wollen Sie ausführen ?")
  130.         #action_help         (cat "Wählen Sie eine Aktion.")
  131.         #action_install      (cat "Installieren")
  132.         #action_update       (cat "Erneuern")
  133.         #action_remove       (cat "Entfernen")
  134.         #cpu_too_low         (cat "Sie haben einen " (database "cpu") " Prozessor installiert, aber um " @app-name
  135.                                   " zu benutzen, benötigen Sie